public class Solution1108 {
    public String defangIPaddr(String address) {
        return address.replaceAll("\\.","[.]");
    }

    public static void main(String[] args) {
        System.out.println(new Solution1108().defangIPaddr("1.1.1.1"));
    }
}
